Added noise function. Tree still doesn't obey the law, though.