fixed difference of siqr Python and C

Finally fixed the difference of siqr and thus the fitting results gained from the Python program compared to the C program. Achieved by implementing function which calculates semi-interquartile range exactly in the same way as done in the C program.