header for probability calculation
vt probabilities and helper functions
hbar added
fixed parameter naming