added reshape
added SOM