solved bug at stats.correlation.pearson, and modified tools script to work with this class
Added new methods to stack component