PHP Class that plots co-oordiantes onto an Image in PHP