Update adjustheight function
Merge pull request #3 from nhoag/master

by @nhoag: Update adjustheight function