A lot of improvement on 3d

A lot of improvement on 3d
Change to switch logic with vector, matrix, string, array transforming