New approximation code based on S. V. Dolgov multifuncrs2 code