out of seeming lack of options readSlice now take a void pointer
implementing transpose