Control Systems using Fuzzy Logic Modelling in State Space Format Optimal Control in Nonlinear State Space and a Direct Method of Model Predictive Control for Fuzzy Modelled systems