Impelemented fractional power (fpow).

Unlike Complex, fpow here only accept a Double (for now). I don't have
a handle on what a quaternion taken to a quaternion power would mean
yet, so I may hold off on that one for awhile.
added dot product and some helper functions