* fixed bug in error function for convolution network