began working on gaussian centriod method