**News 2023-07-23**: Major code rewrite. Much more flexible now. 

