image representation

image representation complete. Needs testing. 3D graphs SOS!!!!