Fixed bug in findLocations function
Fixed additional bugs in findLocations function
Fix math error
Built basic example page