included modified version of LTH's getPaletteFrameFromThreePoses()