Made contcar.py return the average u