Found and fixed a sneaky little error.
Figure is working properly now. Cool stuff.