Random matrices in service of ML footprint: ternary random features with no performance loss