An automatic feedgate system to assist cow movement in herringbone milking parlors