Reverse Array Using While Loop In Matlab