New functions(fixed)

Merged Dorotino Matteo requested to merge dorotmat/phantomx_code:new_functions into master

Merge request reports