Refs #9782. Changed AutoDiffTestAlg

The algorithm now takes function parameters (for calculating values) and measures performance of derivative calculation.
Refs #9782. Changed implementation of Gaussians to not use pow

I was not aware how incredibly slow pow() is for squaring a value.