Julia removed deprecated function. USe their replacements.
fixes for Julia 0.3.
The largest fix was to rename `ref` an `assign` to `getindex` and `setindex!`
respectively.

Conflicts:
	src/functions.jl
	src/vectors.jl