Rearranged CRSSparsityInternal to avoid initialization confusion, #575
Concerning #575: Debugged sparsity pattern caching. Now works but segfault occurs at program closure.