Remove restriction of 0<=t<=1. Fixed #6.