fixed global reference to refer to function parameter
fixed global reference to refer to function parameter

JanetMatsen/elvizAnalysis,JanetMatsen/elvizAnalysis,dacb/elvizCluster,JanetMatsen/elvizAnalysis,dacb/elvizCluster,dacb/elvizCluster