Attempting to code Roe Average by hand