Finished un-debugged implementation of a convolutional layer.