fixes to location bounds
Merge pull request #3 from nickhargreaves/master

fixes to location bounds