Network analyzer and method of calibrating