Use original width:height ratio when exporting an image
Replaced sqrt(A)/sqrt(B) with sqrt(A/B)
issue #29 - Fixed the round-off error