Use console.warn for warnings/diagnostics

So as not to interfere with output (console.log) when using the command
line.

Closes #203.
Merge pull request #205 from rrthomas/interpolate

Use console.warn for warnings/diagnostics