adding logexp.cpp mex file