fflush stdout
print results with more digits
prevent inf for large l1,l2,m in Xi and Lambda
* add long command line options
* add log scale