added print statements to help debug c++ least interpolation