added an utility function to calculate the actual volume for a lattice space
small modifications
use longer names for include guards