vector conversion code

code to handle change of basis. Eventually will be integrated into
InteractionObjects