fixed height and node count functions.  Little mistakes.