added logger. note: looks like nodes need a complete rewrite to handle the float precision issue. going to be tough to solve.