Rewrote most of the code to be similar with Go std library. Changes most types to be used as none pointer values. Bezier2, Bezier3 and Quaternion are no longer of the type struct.