Add function to calculate n points from evenly spaced intervervals of t