Structural similarity algorithms for novel materials discovery