minor updates to allAttractors.R - will need further changes for proper parallelization