Fix bug in linalg.eye.

linalg.eye fails for larger N.
Fix add_diag testcases
Merge pull request #71 from untom/fix_eye

Fix linalg.eye() to work for N >= 128, use fewer threads.
Merge pull request #72 from untom/fix_linalg_tests

Fix add_diag testcases.
Make multiply() tests less redundant.
Fix flag checking bug
Merge pull request #73 from untom/fix_flag_check_in_dot

Fix inplace linalg.dot().
Remove .hgtags.
Add complex *gemmBatched tests.