Parallelism and BMP support

- Distance matrix calculation now performed in parallel
- BMP files accepted as input