Converted version of analysis code to compile on sl6