modified test program: use doubles (no more precision issues), amd support
modified test program: use doubles (no more precision issues), amd support

accosmin/nanocv,accosmin/nano,accosmin/nano,accosmin/nano,accosmin/nanocv,accosmin/nanocv