registration[points]: Add logMatrix debug utility function.