Changed to using preprocess step
Implemented arrays, fixed regression
added automatical correlation finder