Wireless Sensor Network for Prediction of Tides using Mamdani Fuzzy Inference System