Remove unnecessary matrix methods, add shader and program validation