check for valid coefficients, fixes #210
Merge pull request #211 from JuliaOpt/nancheck

check for valid coefficients, fixes #210