added capability to euler to compute lumped mass matrix, added max principle check