Feature/eigen3.2.2

This corresponds to #12 by @yixuan which I simply did not want to fold directly into master to so I merged it into this branch first