Credits @pgor with inspiration for RXInterpolation.h