Took a first hack at refactoring Conv2DSpace into a base ConvNDSpace class and derived Conv2DSpace class. Added Conv3DSpace.