Filters values in array deviating more than clip from the average (iterates niter times). Returns the selected frames that were not deviating.
check_val()