removed the parentheses from the integral and fixed the d's of the deriv...

...ative

Signed-off-by: bvanr <henkibrij@hotmail.com>