Modified test_inner.cc to test for both correctness and performance

This pull request modifies test_inner.cc to test for both correctness and performance. It takes the inner product of a Gaussian and a 3D version of (x^2 * sin(x^2)) and demonstrates that in some cases it's better to use inner() while in others, it's preferable to use inner_ext().