Parametrize by array type instead of eltype

See comments in 83e144c7fe21c4014cbb19bb7566f128159ec67e for discussion. I also changed the parametrization in LmResp to be consistent with GlmResp.