Stable Calculation Part
Minor fix in stable calculation part