Fixing coordinates issues

Done

Duplicating rayclass and renaming it plsrayclass