First semi-working version. There's a bug on setting the center correctly
First working version of VINV