Revert "pointer instead of numpy array for precomputed norms"

This reverts commit ee77209f49ec554deea43eb0d638666b28827600.