refactoring

Added lat_lm_scale and lat_acoustic_scale parameters
Moved profiling to python
Removed old code
Split functions