As per the discussion in PR #103, we should consider adding detailed exception handling and improving the documentation in the `_coef_init` function. See PR https://github.com/kirk0830/ABACUS-ORBGEN/pull/103 and [comment](https://github.com/kirk0830/ABACUS-ORBGEN/pull/103#discussion_r1812454006) for context.