Text this: An innovative algorithm for estimating the minimum eigenvalue of M-matrices