Added FOV and mapgen functions for 1D arrays

Not as efficient as they could be right now.