Learning in feedforward layered networks: the tiling algorithm | Synapse