A theoretical method based on a matrix algorithm for predicting biological activity of total medicinal plant extracts