added zero-padding to analysis. ready to switch over to SinusoidalModel class