Fixed offset calculation
Contributors update
Merge pull request #2 from wesolyromek/master

Fixed offset calculation