This function clears the matrix stack.
matrix_stack_clear();
N/A
if (!matrix_stack_is_empty()){ matrix_stack_clear();}
The above code checks the matrix stack to see if it is empty and if it is not it clears it.