Program runs but does not yet calculate