Add constrainAspectRatio
Merge pull request #2 from pinfieldharm/master

Add constrainAspectRatio