Food Europe Scotland head coach Gregor Townsend had mixed emotions after losing to New Zealand at Murrayfield.