Analog Computing using 1 T 1 R Crossbar Arrays