added comments to analyzeSessions
sessions renamed to trials, function set for 1d and 3d analysis almost complete