Implemented progress bar for new GUI (slower calculations due to use of
Complex from commons-math.