Added view optimisation to rayTrace
Cleaned up BlockMultipart with match statements