added normalization and expectation value functions