calculating for first observation
skip first element in python