Text this: A method for solving the modified primitive equations /