COMPLETE IMAGES, FUNCTIONS NOT WORKING PROPERLY

NEEDS FUNCTIONS FIXED, NEEDS GRADIENTS