Pulled out numeric methods into method.c method.h