Goodness-of-fit tests and graphical diagnostical tools for circular and linear data by