added three blades wind turbine; code cleaned up