Moved general code to transitions.py
Refactored migration model
refactored psmc
Moved projection code to a function
Merge branch 'feature/refactor_matrix_computations' into develop