improved null checking logic
Added basic isotopic distribution for chemical formulas using just c13