Update mathey.cpp