thanks! all credits for that go to the wonders of trigonomitry. its amazing how a little sin or cos-function can make things look instantly better
thanks for the feedback :)