Version 1.11.1

Updated get_val() to use a proper loop, as the update in Version 1.11.0 made this possible.