got some basic functions like bernolli bionimial, but gauss is broken