fiz small bug in option parsing
added weighted least square refinement option
auto-generated file ...
added dark & flat correction even for deprecated opencl implementation
(for tests)
Added a lot of test for dark/flat checks -> modification of masking in
numpy based methods.