Moved eigen22 implementation into hpp