Fixed up partial derivative