Use array comprehension syntax and some native F# math operators.