Fixing bug in conversion
Merge pull request #21 from Aplopio/bug_fix

Fixing bug in conversion