fixed parse.c for doing the extra coord calculation