Fixed some broadness, now uses logs when adding them all together to help prevent really really small numbers. Issue with kl-test, think that there might be something funky with the math cuz it should NEVER be <0