Got rid of unnecessary asfortranarray calls.