BUGFIX: numpy reshape wants integers not tuples
more PEP8 formatting