take log of multiple matrices at once, re build