Renamed hpXcalKcorr function to calcSpireKcorr