Helper function to calculate transition porbabilities for 7-state joint HMM cn/phase are sclars, only p_s is vectorized
Useful links