WebGLApplication: createSynapseMap preserves the relation (pre or post).
synapse clustering: cleaner, safer logic that resists 0 being falsy.
synapse clustering: new function segregationIndex

This algorithm by Casey Schneider-Mizell.