Nested While Loop Syntax Matlab Documentation