Serious speedups in math module - about ten times faster cubic bezier computation.