Centrality determination with the Event Plane Detector for fluctuation measurements from STAR