Coherent electronic transport through magnetic junction