Analysis of MTJ based STT-MRAMs cell modeling and design perspective