Create getkeypoints.m