Added type checking for assignments re issue #153
Fixes for robert re issue #153
Minor bugfix where MSMLib tests passed float assignments.
Merge pull request #154 from kyleabeauchamp/get_count_matrix_fix

Added type checking for assignments re issue #153