Changing precision of the linear algebra library to double.

(also moving instance transpose to gradient evaluator)

Change-Id: I99a71e41f682ac6033d25a038f78190588d00684
11 files changed