perf improvements to Similarity family
only transform landmarks if they exist
correct SDM tests for numerical instability
Merge pull request #397 from jabooth/fastproc

Performance improvements for Similarity family