Fixed regex patterns to recognize comma between coordinate parts.
Fixed output functions.

Signed-off-by: Thomas <thomas.helmke@gmx.de>