added a few hpp files, separated lapack functions where they don't interfere. Added matrix class and a new random test function