added EIGEN_MAKE_ALIGNED macros to fix eigen unaligned exception