Added code to add more raycast data.
started to document code

Signed-off-by: Callum <callum.terris@gmail.com>