Evaluating performance limiting defects in novel thin-film materials for solar cells