Compact Factorization Of Matrices Using Generalized Round-Rank