Gravar-mail: Automation of surgical skill assessment using a three-stage machine learning algorithm