Add triple inner product and elementwise product methods for vectors