Determine the background for an array
b_arr: numpy.ndarray
Array for the determination of the background
niter: int
Number of iterations for sigma clipping
bkgrd: float
median background value after sigma clipping
bkstd: float
Estimated standard deviation based on the median absolute deviation