added commandline csd to test various array operations