A comprehensive evaluation of SAM, the SAM R-package and a simple modification to improve its performance