Remove extra whitespace from script
Transpose matrix of heights values before making df
Modify whitespace and indentation