A few small changes to neighorhood_arrfunc