Fixed bug in antsRegistration outputs. Close #944

Now, I'll be looking at #883.