Should `validate_matrix` and `validate_vector` be public or would it be better to add an underscore?