Added docstring to rays()
Added scale feature