Modelling of a fuzzy controller for a single link manipulator