List<Mass> getMassesBetweenYRange(double yStart, double yEnd) {
        List<Mass> inputsBetween = new LinkedList<>();

        for (Mass input : inputs) {
            if (input.getY() >= yStart && input.getY() <= yEnd) {
                inputsBetween.add(input);
            }
        }

        return inputsBetween;
    }