K 10 svn:author V 3 imp K 8 svn:date V 27 2017-07-01T02:19:48.896192Z K 7 svn:log V 172 Fix sign of resid and add a mostly useless cast to cope with signed vs unsigned check warnings from traditional unix code construsts bogusly flagged as potentially unsafe. END