build

Constructs and returns the MotionProfile instance.