Army mortar teams have replaced 20-year-old software used to calculate firing data and ballistics with a new application designed for smartphones.