Optimisation of Interior Permanent Magnet Generator in Propeller Type Tidal Turbines