fixed numerical gradient checking. fixed sparsity.
updated readme