fix array issues by adding dtype=object
fix array issues in unit tests by adding dtype=object
fixed numpy 1.9 compatibility problems in mcsolve. removed excessive casting to array