Fix compile errors from VS2012

- VS2012 doesn't support the default parameter of member function template
Add function linspace(a, b, n)
Add function imread(dst, filename)