Removed depricated parameters and added comments
Merge pull request #3 from andreasolund/master

Removed depricated parameters and added comments