Update AltitudeFilter.java

Need to check the precision loses.