changed angle variables to floats