changed tensor representation to plain data block
added more timer functions