Changed the distance address to the pressure address for testing and fixed bugs.