Corrected input to nussinov FoldAndScore
Added input validation