LUP decomposition and parallelisation for structure constant determination