Temporary code to debug using the julia profiler
Remove profiling from main file