added oerc and removed spaces
fixed compile error
added new way to compute the alpha, more fast and nicer.