Finished GeneralState, removed IntMatPos. No unit tests for GeneralState
but functions within framework, now to investigate.