fixed unit conversion bug and implemented mil unit parsing of elementline