defks_test(self,data):#Method that conducts the Kolmogorov-Smirnov statistical test and returns the best fitting distribution among the list of the available statistical distributions
data=robjects.FloatVector(data)#The given data sample changes into float vector in order to be handled by RPy2
#Create a list with strings the available statistical distributions