Bug fix to beta_all, Variables are complex.