some very badly coded machine learning equations - aim was to understand the workings of eq not imple optimally
some probability stuff