try to change TimeArray

some problems.....
sum(axis=1)
remove subtract
remove ceil in TimeArray
small improvment