Added assert statement to catch wrong shape of array (see issue #503).
Merge branch 'fix-start-shaders' of https://github.com/rossant/vispy
Minor fix: need to convert data to darray before checking its shape.
Merge pull request #504 from maxalbert/master

Fix for #503