Raptors finish off pre-season with win over Knicks