james - fixed the matrix construction; as in, just put static matrices in the c code. still, the frequency is not properly calibrated for rotational effects.