A modified rigid-body-spring method for modeling damage and failure of brittle rocks subjected to triaxial compression. (December 2022)