Removed test data array
Rounded data off in ladder
Cleaned up code