Metrics Added to code

- Added memory and timing metrics to the code
- Displayed at the end of total computation
- Little refactoring on MainClass
- removed unused imports in few classes
- Matlab call in Dimensionality Reduction modified to capture timings more accurately