Changes made to fix the error that was causing the code to not get the minimum values from the columns