Sketched functions for GCTA style binary GRMs