clean up gaussian node, attempt to make more efficient