changed ND Array input to const for the AJD class
fixed a memory leak in the ICA unit tests and example