Corrected minor error in arr_fnc_reverse

Corrected error that may have been one too many element swap in certain
cases.