Modified Infinite Well