drawQuad and drawArray

Fixed draw functions and made them much simpler