Optimising financial computation for reconfigurable hardware