Added matrix Loading

Added matrix loading
and added constructors for state and parameter classes