SquareBySquare functions now receive "attribute" as a parameter; forEachCellPair separated in 2 forEachCell because forEachCellPair does not accept Trajetories as parameters, and other minor bugs corrected.