updated DomainVelocity function

add farfield cases, NaN checks etc