Fixed alignment of constants.
Added include guards.
Added global types and definitions.
Fixed some long lines.
Added file with various math factorization related functions (may be C++ specfic).
Added factorization functions.
Added general type definitions and constants.