fixed integration loop so that it doesn't overwrite initial data
Merge pull request #16 from Yurlungur/master

fixed integration loop so that it doesn't overwrite initial data