Fixing doc.
Fixing Docs.
Fixing bug with demoninator.
Adding legend scalaing options top hierarchy plot.