Changes in get_motionless.m