Add max precision configuration parameter. Closes #2372

This sets the limit at 6 by default but allows for user to increase it in advanced settings if needed.