Changed mod180 to get close to zero