moved more computation into shader for Euler solver. some inline documentation