Simulation And Optimization For Strain-Mediated Multiferroic Applications: Memory, Logics And Sensor/Actuator