Adding resitance and current measurement code and also the user guide