Added a custom IComparer to the BasisFunction class so that they can be sorted in the order I want. Added function to do the sorting to SOCJT.cs.
Sorting meant I would need to rewrite the matrix generation function entirely. Remove it. Put in new loop iteration value for iteration over rows. Now skips every other entry since lambda alternates values.
Lambda does not always go every other. Removed m+=2. Added loop to quickly check for impossible delta v and delta l values. See if this helps.
Added some comments.