Fixed beta float. Changed to python3 function names