(Xronos) Adding common-maths lib for giving statistics for the modelsim
weights. Now writing a file for the c arrays.