Two spelling errors:  s/rehape/reshape/ and s/tranform/transform/.