now fully working program, just a little slow
Merge branch 'master' of github.com:osclars/compPhysE2 into moveMatrix
made program faster by calcultaing transMatrix outside loop