Fast approximate maximal correlation queries