fapply2 function

Apply formatting to two vectors