Remove the 'GetBands' statement
Properly reclass from factor to numeric