Fixed directory problems and finished the infinite-sum macro for real numbers.