Separating function that finds our best approximation.
generating script that makes comparisons.
implementing use of new functions.