Fixed errors, added setNodeCPT implementation

Change arguments passed to SMILE methods to match their signatures.
Added implementation: defining CPT of specific node.