added translation of Roland's c-code
Merge remote-tracking branch 'origin/master'