Cleaned/Added documentation to ubi/.py and block/.py