Hidalgo.js library to calculate CUSUM-based test statistics