Text this: Generalized inverse of matrices and its applications