Added function to calculate height of table
Camelcase fix