created orthonormal frame interpolation code