Minor update
Some error fixes and replaced Int64 with Int
Merge pull request #217 from BenLauwens/SimJulia

Minor update