Transform and multiply

SIMD and scalar implementations

Signed-off-by: John McCutchan <john@johnmccutchan.com>