Optimisation Of Interior Permanent Magnet Generator In Propeller Type Tidal Turbines