patches: add KSVD support (import data, project patches, visualize basis, etc)