Beginning of CalculMentalPanel
Editing fraction for correcting a bug in equal()