Fixed bug in rendering
= vertices were being packed incorrectly, fixed
= wrong mapping of input element format to d3d value fixed