still using the dot function. fed up with figureing out why convolve will only work with teh second derivative