bugfix in generate.biomarkers

checking for NAs before attempting at removing them (to prevent
character 0 error)
bugfix in read.population

applytofunction now works fine