changed classes resonsibility: now Dynamics class calculate exact rod and cart position parameters (not only difference of position parameters), therefore those classes (Rod and Cart) have only properly paint themselves