added perspective projection

also shader compile errors are printing now