Switched underscore to camelCase. Wish me luck.
Debugging patch extraction and sparse PCA. Runs now on a single patch without crashing.