PS: std::arg returns values [-pi:pi], not [0:2pi]