fixing usage1 compiling against latest ray changes, although results are not entirely correct it seems.