Update main.m

Updated main to reflect changes to `arr_length_err`.