Fixed ntpy.lattice bug

Assertion erroniously activated when lat_type specified, when np.array(basis) used changed type
to other than none, have to do conversion after assertion