[NEST Users] Changing connection weight according to a function