added capability for input as SMILES from rdkit