Re #7779. Make the default error zero if no error column given.

This is surely more sensible than 1!
Also a bit of tidying up in the code around this change.
Merge remote-tracking branch 'origin/bugfix/7779_converttabletomatrix_error_default'