We should figure out at some point whether X*X is faster than powf(X,2).  I doubt it, so this probably good.