Create a function for creating the HR polygon

Instead of running the process through a set of function, I’ve created
a function that creates the HR polygon and that we can use to plot and
estimate the area afterward. This process has removed a lot of the in
between check plots.