Basic Karplus calculations