Code for the paper "Frozen Surrogate Variable Analysis"