add script to compute Cv from a database
clean up heat capacity stuff a bit