change default dtype to np.float32

It halves the memory required and it seems multiprocessing also benefits from it