Moved IRSlalomFunction to its own source file