Changing drupal_set_message red or yellow
You've put warning as a 2nd argument for function t(). Look carefully at the syntax. It should be an argument to the drupal_set_message function instead: 

Wrong:

 $errors[] = drupal_set_message(t(' Gammarus (Freshwater Shrimp) should be a number!', 'Warning',));


Correct:

$errors[] = drupal_set_message(t(' Gammarus (Freshwater Shrimp) should be a number!'), 'warning');