PHP Inshore Water fixes

Begun implementing conditional algorithm for inshore water pulling.