partial derivative function complete for gaussmf