Shaping of Spike-Timing-Dependent Plasticity curve using interneuron and calcium dynamics