Development of a tube ball mill mathematical model for mill condition and safety monitoring