network is updated to work with SpatialClassifier

Before coming to the classifier the input needs to
decrease to 1 dimension, ow SpatialClassifier doesn't work
correctly