GPS related matlab scripts