Extended the new code style to the Linear interpolated motion
Extended the new code style to the motion abstract class