encap: Use mat_apply to compute tau instead of saxpys.

Signed-off-by: Matthew Emmett <memmett@gmail.com>
Merge pull request #38 from memmett/feature/mat_apply

Use mat_apply to compute tau instead of saxpys.