Automatic stone cutting machine