Extended dipole model for aggregates of dye molecules