Allow numpy array inputs for getShear, getConvergence etc (#304)