Fixed error in exception classes. Fixed several errors in Container classes and factory
Changed operator[] to () and changed matrix so it acces elements instead of vectors