Bug fixes for motion corrected sequence class
Refactoring of 2D HMM and work on 3D HMM.

Tests pass.
Working 3D HMM, though still contains rough hacks.

2D tests still pass. 3D displacements reasonable.
trim_coords for 3D displacements
Fixed exporting of frames.
Merge pull request #52 from pkaifosh/3D-HMM
Minor fix to sequence.py

Missing type cast caused motion correction to fail on Windows
Minor fix to sequence.py

Missing type cast caused motion correction to fail on Windows
Merge branch 'master' of https://github.com/tamachado/sima
Merge pull request #54 from tamachado/master

Minor fix to sequence.py
Sped up some slow tests by clipping the dataset