Create autofindpoint.m