In-Situ Capacity And Resistance Estimation Algorithm Development For Lithium-Ion Batteries Used In Electrified Vehicles