Approximate String Matching Allowing for Inversions and Translocations