Addded auto dim buffers
added automatic initialization
Merge commit 'f4d02217f21515311f4e212283f0fc164915d1ea' into CestDiego/dimBuffers