C++ implementation of the VIKAR reaction code by Steve Pain