Added dynamically changing angles for joints