add seperate NNLS caller, use normalize_matrix for the solution vector
addded more fopen checks, use one ifstatement in nnls_caller