fixing issue with horizontal axis being calculated with width instead of height
Fixed issue #12 wrt axis structures
Merge pull request #13 from hashd/master

Non square layouts fix