Numerical method class assignement