Fix seg fault

space needs to be allocated to vector before you can use bracket
notation. Also, update the image to be the equalized version.