Some tesseract code, tweaks to animation curves