algospot matexp c++ version