Modifications on plsrayclass and plsrayarrayclass

Adapting the ray class to pulsewavestools requirements