Update position.c

Stripped comments and changed formatting