Magnus Gabriel Rosmius , professorvid