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

Minor update