Unit cell refinement from powder diffraction data: the use of regression diagnostics | Synapse