added numpy and scipy