Added matrix double
Improved util.vector_*
Merge branch 'master' into complex