Fixed bugs dealing with double signals and linear scaling; added checks for scenarios where min==max; fixed passing of min and max arguments in test program.
Fix variable name bug.
Merge branch 'vector-props2' into vector-indexing

Conflicts:
	src/expression.c
Merge branch 'master' into vector-indexing

Conflicts:
	src/connection.c
	test/test.c