Fixed faulty qr calls and additional output arguments of sparf.
added sparseN.m
sparse implementation without matrix multiplications
merge