Added colvarx.c, modifications to coordx.c