Dirk Nowitzki couldn't have got off to a better start in his final home game for the Dallas Mavericks.