removed unused method
removed unused code
Initialize the stack array in the constructor rather than in the defaults so that stack instance will not be shared across MotionModel instances.