PoseAnalyzer is sort of working now, but has numerous issues that need cleaning up