Added Sparsity::scalar(), #983
Removed usage of deprecated functions (2), #983
Removed usage of deprecated functions (3), #983
Fixed bug in Sundials interface, #554