stubbed refactor code
first refactor upto, still expensive and slow
improved upto, but still growing an array, tests passing
preallocate nextta with zeros
added test to upto to catch mean
upto growing array again, faster and correct
Merge pull request #76 from JuliaStats/transformationsrefactor

refactor transformations.jl