Optimize snapping
Add options to use stdin and stdout
Add precision= option to -o command
v0.2.4 adds stdin/stdout io and -o precision= option