Algorithms for Efficient Data Compression in Databases using the Semantic Binary Model