Defined inputs
Print required segment size
Print all x values
Calculate total sum
Print percentages of calculation
Fixed crash error if number of cycles per percent is under zero