#include <math.h>
#include <vector>
#include <algorithm>
#include <cassert>
#include "header.h"
#include "RateTerm.h"