Added calc_final_alpha function structure (wrong implementation)