/**
 * This function takes a list of floating-point numbers and removes any values that are greater than epsilon, where epsilon is a very small positive number.
 *
 * @param data A list of floating-point numbers.
 * @param epsilon A very small positive number.
 * @return A new list with the high values removed.
 */
fun removeHighValues(data: List<Double>, epsilon: Double): List<Double> {

    val newData = mutableListOf<Double>()
    for (num in data) {
        if (num <= epsilon) {
            newData.add(num)
        }
    }
    return newData
}
/**
 * This function takes a list of floating-point numbers and removes any values that are greater than epsilon, where epsilon is a very small positive number.
 *
 * @param data A list of floating-point numbers.
 * @param epsilon A very small positive number.
 * @return A new list with the high values removed.
 */
fun removeHighValues(data: List<Double>, epsilon: Double): List<Double> {
/**
 * This function takes a list of floating-point numbers and removes any values that are greater than epsilon, where epsilon is a very small positive number.
 *
 * @param data A list of floating-point numbers.
 * @param epsilon A very small positive number.
 * @return A new list with the high values removed.
 */
fun removeHighValues(data: List<Double>, epsilon: Double): List<Double> {

    val newData = mutableListOf<Double>()
    for (num in data) {
        if (num <= epsilon) {
            newData.add(num)
        }
    }
    return newData
}