added fitting pc calculation in main gui