Fixed some compiler flags and added the EIGEN_NO_DEBUG define for release builds.
Added the optimization component. Currently it only has linear least squares that are unconstrained and equality constrained.